package com.roc.dubbo.remoting.zookeeper.curator2;

import com.alibaba.dubbo.common.URL;
import com.alibaba.dubbo.remoting.zookeeper.ZookeeperClient;
import com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter;

/**
 * Created by roc on 2017/2/27.
 */
public class Curator2ZookeeperTransporter implements ZookeeperTransporter {

    @Override
    public ZookeeperClient connect(URL url) {
        return new Curator2ZookeeperClient(url);
    }
}
